home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Produtividade / OpenOffice.org 2.0.1 / openofficeorg1.cab / form.mod < prev    next >
Text File  |  2005-09-10  |  15KB  |  375 lines

  1. <!--
  2.  
  3.     OpenOffice.org - a multi-platform office productivity suite
  4.  
  5.     $RCSfile: form.mod,v $
  6.  
  7.     $Revision: 1.22 $
  8.  
  9.     last change: $Author: rt $ $Date: 2005/09/09 12:30:49 $
  10.  
  11.     The Contents of this file are made available subject to
  12.     the terms of GNU Lesser General Public License Version 2.1.
  13.  
  14.  
  15.       GNU Lesser General Public License Version 2.1
  16.       =============================================
  17.       Copyright 2005 by Sun Microsystems, Inc.
  18.       901 San Antonio Road, Palo Alto, CA 94303, USA
  19.  
  20.       This library is free software; you can redistribute it and/or
  21.       modify it under the terms of the GNU Lesser General Public
  22.       License version 2.1, as published by the Free Software Foundation.
  23.  
  24.       This library is distributed in the hope that it will be useful,
  25.       but WITHOUT ANY WARRANTY; without even the implied warranty of
  26.       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  27.       Lesser General Public License for more details.
  28.  
  29.       You should have received a copy of the GNU Lesser General Public
  30.       License along with this library; if not, write to the Free Software
  31.       Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  32.       MA  02111-1307  USA
  33.  
  34. -->
  35.  
  36. <!ENTITY % controls    "form:text|form:textarea|form:fixed-text|form:file|
  37.                      form:password|form:formatted-text|form:button|form:image|
  38.                      form:checkbox|form:radio|form:listbox|form:combobox|form:frame|
  39.                      form:hidden|form:image-frame|form:grid|form:value-range|form:generic-control">
  40.  
  41. <!ENTITY % name "form:name CDATA #IMPLIED">
  42. <!ENTITY % service-name "form:service-name CDATA #IMPLIED">
  43.  
  44. <!ENTITY % navigation "(none|current|parent)">
  45. <!ENTITY % cycles "(records|current|page)">
  46. <!ENTITY % url "CDATA">
  47.  
  48.  
  49. <!ENTITY % types "(submit|reset|push|url)">
  50. <!ENTITY % button-type "form:button-type %types; 'push'">
  51. <!ENTITY % current-selected "form:current-selected %boolean; 'false'">
  52. <!ENTITY % current-value "form:current-value CDATA #IMPLIED">
  53. <!ENTITY % value "form:value CDATA #IMPLIED">
  54. <!ENTITY % disabled "form:disabled %boolean; 'false'">
  55. <!ENTITY % dropdown "form:dropdown %boolean; 'false'">
  56. <!ENTITY % for "form:for CDATA #IMPLIED">
  57. <!ENTITY % image-data "form:image-data %url; #IMPLIED">
  58. <!ENTITY % label "form:label CDATA #IMPLIED">
  59. <!ENTITY % max-length "form:max-length CDATA #IMPLIED">
  60. <!ENTITY % printable "form:printable %boolean; 'true'">
  61. <!ENTITY % readonly "form:readonly %boolean; 'false'">
  62. <!ENTITY % size "form:size CDATA #IMPLIED">
  63. <!ENTITY % selected "form:selected %boolean; 'false'">
  64. <!ENTITY % size "form:size CDATA #IMPLIED">
  65. <!ENTITY % tab-index "form:tab-index CDATA #IMPLIED">
  66. <!ENTITY % target-frame "office:target-frame CDATA '_blank'">
  67. <!ENTITY % target-location "xlink:href %url; #IMPLIED">
  68. <!ENTITY % tab-stop "form:tab-stop %boolean; 'true'">
  69. <!ENTITY % title "form:title CDATA #IMPLIED">
  70. <!ENTITY % default-value "form:default-value CDATA #IMPLIED">
  71. <!ENTITY % bound-column "form:bound-column CDATA #IMPLIED">
  72. <!ENTITY % convert-empty "form:convert-empty-to-null  %boolean; 'false'">
  73. <!ENTITY % data-field "form:data-field CDATA #IMPLIED">
  74. <!ENTITY % linked-cell "form:linked-cell CDATA #IMPLIED">
  75. <!ENTITY % visual-effect "form:visual-effect (flat|3d) #IMPLIED">
  76. <!ENTITY % image-position "form:image-position (start|end|top|bottom|center) 'center'">
  77. <!ENTITY % image-align "form:image-align (start|center|end) 'center'">
  78. <!ENTITY % list-linkage-type "form:list-linkage-type (selection|selection-indexes) #IMPLIED">
  79. <!ENTITY % source-cell-range "form:source-cell-range CDATA #IMPLIED">
  80. <!ENTITY % list-source "form:list-source CDATA #IMPLIED">
  81. <!ENTITY % list-source-types "(table|query|sql|sql-pass-through|value-list|table-fields)">
  82. <!ENTITY % list-source-type "form:list-source-type %list-source-types; #IMPLIED">
  83. <!ENTITY % column-style-name "form:column-style-name %styleName; #IMPLIED">
  84. <!ENTITY % min-value "form:min-value %float; #IMPLIED">
  85. <!ENTITY % max-value "form:max-value %float; #IMPLIED">
  86. <!ENTITY % step-size "form:step-size %positiveInteger; '1'">
  87. <!ENTITY % page-step-size "form:page-step-size %positiveInteger; #IMPLIED">
  88. <!ENTITY % delay-for-repeat "form:delay-for-repeat %positiveInteger; #IMPLIED">
  89. <!ENTITY % orientation "form:orientation (horizontal|vertical) #IMPLIED">
  90.  
  91.  
  92.  
  93.  
  94. <!ELEMENT form:control (%controls;)+>
  95. <!ATTLIST form:control %name;
  96.                        %service-name;
  97.                        %control-id;>
  98.  
  99. <!ELEMENT form:form (form:properties?, office:events?, (form:control|form:form)*)>
  100. <!ATTLIST form:form %name; %service-name;>
  101. <!ATTLIST form:form xlink:href %url; #IMPLIED>
  102. <!ATTLIST form:form form:enctype CDATA "application/x-www-form-urlencoded">
  103. <!ATTLIST form:form form:method CDATA "get">
  104. <!ATTLIST form:form office:target-frame CDATA "_blank">
  105. <!ATTLIST form:form form:allow-deletes %boolean; "true">
  106. <!ATTLIST form:form form:allow-inserts %boolean; "true">
  107. <!ATTLIST form:form form:allow-updates %boolean; "true">
  108. <!ATTLIST form:form form:apply-filter %boolean; "false">
  109. <!ATTLIST form:form form:command CDATA #IMPLIED>
  110. <!ATTLIST form:form form:command-type (table|query|command) "command">
  111. <!ATTLIST form:form form:datasource CDATA #IMPLIED>
  112. <!ATTLIST form:form form:detail-fields CDATA #IMPLIED>
  113. <!ATTLIST form:form form:escape-processing %boolean; "true">
  114. <!ATTLIST form:form form:filter CDATA #IMPLIED>
  115. <!ATTLIST form:form form:ignore-result %boolean; "false">
  116. <!ATTLIST form:form form:master-fields CDATA #IMPLIED>
  117. <!ATTLIST form:form form:navigation-mode %navigation; #IMPLIED>
  118. <!ATTLIST form:form form:order CDATA #IMPLIED>
  119. <!ATTLIST form:form form:tab-cycle %cycles; #IMPLIED>
  120.  
  121. <!ELEMENT office:forms (form:form*)>
  122. <!ATTLIST office:forms form:automatic-focus %boolean; "false">
  123. <!ATTLIST office:forms form:apply-design-mode %boolean; "true">
  124.  
  125. <!ELEMENT form:text (form:properties?, office:events?)>
  126. <!ATTLIST form:text %current-value;
  127.                     %disabled;
  128.                     %max-length;
  129.                     %printable;
  130.                     %readonly;
  131.                     %tab-index;
  132.                     %tab-stop;
  133.                     %title;
  134.                     %value;
  135.                     %convert-empty;
  136.                     %data-field;
  137.                     %linked-cell;>
  138.  
  139. <!ELEMENT form:textarea (form:properties?, office:events?, text:p*)>
  140. <!ATTLIST form:textarea %current-value;
  141.                         %disabled;
  142.                         %max-length;
  143.                         %printable;
  144.                         %readonly;
  145.                         %tab-index;
  146.                         %tab-stop;
  147.                         %title;
  148.                         %value;
  149.                         %convert-empty;
  150.                         %data-field;
  151.                         %linked-cell;>
  152.  
  153. <!ELEMENT form:password (form:properties?, office:events?)>
  154. <!ATTLIST form:password %disabled;
  155.                         %max-length;
  156.                         %printable;
  157.                         %tab-index;
  158.                         %tab-stop;
  159.                         %title;
  160.                         %value;
  161.                         %convert-empty;
  162.                         %linked-cell;>
  163.  
  164. <!ATTLIST form:password form:echo-char CDATA "*">
  165.  
  166. <!ELEMENT form:file (form:properties?, office:events?)>
  167. <!ATTLIST form:file %current-value;
  168.                     %disabled;
  169.                     %max-length;
  170.                     %printable;
  171.                     %readonly;
  172.                     %tab-index;
  173.                     %tab-stop;
  174.                     %title;
  175.                     %value;>
  176.  
  177. <!ELEMENT form:formatted-text (form:properties?, office:events?)>
  178. <!ATTLIST form:formatted-text %current-value;
  179.                               %disabled;
  180.                               %max-length;
  181.                               %printable;
  182.                               %readonly;
  183.                               %tab-index;
  184.                               %tab-stop;
  185.                               %title;
  186.                               %min-value;
  187.                               %max-value;
  188.                               %value;
  189.                               %convert-empty;
  190.                               %data-field;
  191.                               %linked-cell;>
  192. <!ATTLIST form:formatted-text form:validation %boolean; "false">
  193.  
  194. <!ELEMENT form:fixed-text (form:properties?, office:events?)>
  195. <!ATTLIST form:fixed-text %for;
  196.                           %disabled;
  197.                           %label;
  198.                           %printable;
  199.                           %title;>
  200. <!ATTLIST form:fixed-text form:multi-line %boolean; "false">
  201.  
  202. <!ELEMENT form:combobox (form:properties?, office:events?, form:item*)>
  203. <!ATTLIST form:combobox %current-value;
  204.                         %disabled;
  205.                         %dropdown;
  206.                         %max-length;
  207.                         %printable;
  208.                         %readonly;
  209.                         %size;
  210.                         %tab-index;
  211.                         %tab-stop;
  212.                         %title;
  213.                         %value;
  214.                         %convert-empty;
  215.                         %data-field;
  216.                         %list-source;
  217.                         %list-source-type;
  218.                         %linked-cell;
  219.                         %source-cell-range;>
  220.  
  221. <!ATTLIST form:combobox form:auto-complete %boolean; #IMPLIED>
  222.  
  223. <!ELEMENT form:item (#PCDATA)>
  224. <!ATTLIST form:item %label;>
  225.  
  226. <!ELEMENT form:listbox (form:properties?, office:events?, form:option*)>
  227. <!ATTLIST form:listbox %disabled;
  228.                        %dropdown;
  229.                        %printable;
  230.                        %size;
  231.                        %tab-index;
  232.                        %tab-stop;
  233.                        %title;
  234.                        %bound-column;
  235.                        %data-field;
  236.                        %list-source;
  237.                        %list-source-type;
  238.                        %linked-cell;
  239.                        %list-linkage-type;
  240.                        %source-cell-range;>
  241.  
  242. <!ATTLIST form:listbox form:multiple %boolean; "false">
  243.  
  244. <!ELEMENT form:option (#PCDATA)>
  245. <!ATTLIST form:option %current-selected;
  246.                       %selected;
  247.                       %label;
  248.                       %value;>
  249.  
  250. <!ELEMENT form:button (form:properties?, office:events?)>
  251. <!ATTLIST form:button %button-type;
  252.                       %disabled;
  253.                       %label;
  254.                       %image-data;
  255.                       %printable;
  256.                       %tab-index;
  257.                       %tab-stop;
  258.                       %target-frame;
  259.                       %target-location;
  260.                       %title;
  261.                       %value;
  262.                       %image-position;
  263.                       %image-align;>
  264.  
  265. <!ATTLIST form:button form:default-button %boolean; "false"
  266.                       form:toggle %boolean; "false"
  267.                       form:focus-on-click %boolean; "true">
  268.  
  269. <!ELEMENT form:image (form:properties?, office:events?)>
  270. <!ATTLIST form:image %button-type;
  271.                      %disabled;
  272.                      %image-data;
  273.                      %printable;
  274.                      %tab-index;
  275.                      %tab-stop;
  276.                      %target-frame;
  277.                      %target-location;
  278.                      %title;
  279.                      %value;>
  280.  
  281. <!ELEMENT form:checkbox (form:properties?, office:events?)>
  282. <!ATTLIST form:checkbox %disabled;
  283.                         %label;
  284.                         %printable;
  285.                         %tab-index;
  286.                         %tab-stop;
  287.                         %title;
  288.                         %value;
  289.                         %data-field;
  290.                         %linked-cell;
  291.                         %visual-effect;
  292.                         %image-position;
  293.                         %image-align;>
  294.  
  295. <!ENTITY % states "(unchecked|checked|unknown)">
  296. <!ATTLIST form:checkbox form:current-state %states; #IMPLIED>
  297. <!ATTLIST form:checkbox form:is-tristate %boolean; "false">
  298. <!ATTLIST form:checkbox form:state %states; "unchecked">
  299.  
  300. <!ELEMENT form:radio (form:properties?, office:events?)>
  301. <!ATTLIST form:radio %current-selected;
  302.                      %disabled;
  303.                      %label;
  304.                      %printable;
  305.                      %selected;
  306.                      %tab-index;
  307.                      %tab-stop;
  308.                      %title;
  309.                      %value;
  310.                      %data-field;
  311.                      %linked-cell;
  312.                      %visual-effect;
  313.                      %image-position;
  314.                      %image-align;>
  315.  
  316. <!ELEMENT form:frame (form:properties?, office:events?)>
  317. <!ATTLIST form:frame %disabled;
  318.                      %for;
  319.                      %label;
  320.                      %printable;
  321.                      %title;>
  322.  
  323. <!ELEMENT form:image-frame (form:properties?, office:events?)>
  324. <!ATTLIST form:image-frame %disabled;
  325.                            %image-data;
  326.                            %printable;
  327.                            %readonly;
  328.                            %title;
  329.                            %data-field;>
  330.  
  331. <!ELEMENT form:hidden (form:properties?, office:events?)>
  332. <!ATTLIST form:hidden %name;
  333.                       %service-name;
  334.                       %value;>
  335.  
  336. <!ELEMENT form:grid (form:properties?, office:events?, form:column*)>
  337. <!ATTLIST form:grid %disabled;
  338.                     %printable;
  339.                     %tab-index;
  340.                     %tab-stop;
  341.                     %title;>
  342.  
  343. <!ENTITY % column-type "form:text| form:textarea| form:formatted-text|form:checkbox| form:listbox| form:combobox">
  344. <!ELEMENT form:column (%column-type;)+>
  345. <!ATTLIST form:column %name;
  346.                       %service-name;
  347.                       %label;
  348.                       %column-style-name;>
  349.  
  350. <!ELEMENT form:generic-control (form:properties?, office:events?)>
  351.  
  352. <!ELEMENT form:value-range (form:properties?, office:events?)>
  353. <!ATTLIST form:value-range %disabled;
  354.                            %printable;
  355.                            %tab-index;
  356.                            %tab-stop;
  357.                            %title;
  358.                            %min-value;
  359.                            %max-value;
  360.                            %current-value;
  361.                            %value;
  362.                            %linked-cell;
  363.                            %step-size;
  364.                            %page-step-size;
  365.                            %delay-for-repeat;
  366.                            %orientation;>
  367.  
  368. <!ELEMENT form:properties (form:property+)>
  369. <!ELEMENT form:property (form:property-value*)>
  370. <!ATTLIST form:property form:property-is-list %boolean; #IMPLIED>
  371. <!ATTLIST form:property form:property-name CDATA #REQUIRED>
  372. <!ATTLIST form:property form:property-type (boolean|short|int|long|double|string)  #REQUIRED>
  373. <!ELEMENT form:property-value (#PCDATA)>
  374. <!ATTLIST form:property-value form:property-is-void %boolean; #IMPLIED>
  375.